import {
	createSSRApp
} from 'vue'
import * as Pinia from 'pinia'
import {
	setupStore
} from './stores/index.js'
import App from './App.vue'

export function createApp() {
	const app = createSSRApp(App)

	setupStore(app)

	return {
		app,
		Pinia,
	}
}